import axios from '@/libs/api.request';


/**
 * 通过核销码获取订单详情
 */
export const getOrderByCode = (code) => {
  return axios.request({
    url: 'StoreAdmin/Order/getOrderByCode',
    method: 'get',
    params:{code:code}
  })
};
/**
 * 确认核销
 */
export const checkCode = (code) => {
  return axios.request({
    url: 'StoreAdmin/Order/checkCode',
    method: 'get',
    params:{code:code}
  })
};




